package com.wxp.service.impl;

import com.wxp.dao.DaoSupport;
import com.wxp.service.PlannedCurrentLimitationService;
import com.wxp.util.IData;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class PlannedCurrentLimitationServiceImpl implements PlannedCurrentLimitationService {

    @Resource(name = "daoSupport")
    private DaoSupport dao;

    @Override
    public List<IData> getPlanCurrLimiList(IData idata) throws Exception {
        return (List<IData>) dao.findForList("PlannedCurrentLimitationMapper.getPlanCurrLimiList",idata);
    }
}
